package com.apex.springcloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author XiaoYang
 * @version 1.0
 * @program: springcloud-parant
 * @Classname ConfigBean
 * @description TODO
 * @date 2021/7/15 12:56
 */

@Configuration
public class ConfigBean {

    @Bean
    public RestTemplate getRestTemplate(){
        return new RestTemplate();
    }

}
